package com.atguigu.springcloud.service.impl;

import com.atguigu.springcloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

/**
 * @author Rui
 * @version 1.0
 * @date 2020/11/10 16:21
 */
@Component
public class PaymentHystrixServiceImpl implements PaymentHystrixService {
    @Override
    public String paymentInfoOK(Integer id) {
        return "-----PaymentHystrixServiceImpl  paymentInfoOK 支付服务器出现异常 o(╥﹏╥)o";
    }

    @Override
    public String paymentInfoTimeout(Integer id) {
        return "-----PaymentHystrixServiceImpl  paymentInfoTimeout  支付服务器出现异常 o(╥﹏╥)o";
    }
}
